package com.woniu.command.handler;

import com.woniu.adapter.OutApplyAdapter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MaterialOutApplyCommandHandler {
    @Autowired
    private OutApplyAdapter outApplyAdapter;

    public void addMaterialOutApply(String ids,String reason,String desc,Integer workerId){
        outApplyAdapter.addMaterialOutApply(ids,reason,desc,workerId);
    }

    public void updateOutApply(Integer id){
        outApplyAdapter.updateOutApply(id);
    }
}
